﻿namespace SIR.Common
{
	/// <summary>
	/// Common functionality across all entities
	/// </summary>
	public interface IEntity
	{
		/// <summary>
		/// Get whether or not the object is new for the system
		/// </summary>
		bool IsNew { get; set; }
		/// <summary>
		/// Gets where or not the object should be deleted from the system
		/// </summary>
		bool IsDeleted { get; }
		/// <summary>
		/// The identifier for the object that is unique per object type
		/// </summary>
		long Id { get; }
	}
}

